package me.skyun.androidarch.connect;

/**
 * Created by skyun on 17/8/22.
 */

public interface Server {
    void startListen();

    interface Callback {
        void onListenStarted();

        void onListenStopped();
    }

    class DefaultCallback implements Callback {
        @Override
        public void onListenStarted() {
        }

        @Override
        public void onListenStopped() {
        }
    }
}
